package com.kingdee.eas.crm.finance;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class InvoiceRecordFactory
{
    private InvoiceRecordFactory()
    {
    }
    public static com.kingdee.eas.crm.finance.IInvoiceRecord getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.crm.finance.IInvoiceRecord)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("E31A9268") ,com.kingdee.eas.crm.finance.IInvoiceRecord.class);
    }
    
    public static com.kingdee.eas.crm.finance.IInvoiceRecord getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.crm.finance.IInvoiceRecord)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("E31A9268") ,com.kingdee.eas.crm.finance.IInvoiceRecord.class, objectCtx);
    }
    public static com.kingdee.eas.crm.finance.IInvoiceRecord getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.crm.finance.IInvoiceRecord)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("E31A9268"));
    }
    public static com.kingdee.eas.crm.finance.IInvoiceRecord getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.crm.finance.IInvoiceRecord)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("E31A9268"));
    }
}